ASSEMBLY_COMPILER_COMMAND = gmcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -debug -d:DEBUG
BUILD_DIR = ../../build/
ASSEMBLY_NAME=Galaxium.Gui.GtkGui
ASSEMBLY = $(BUILD_DIR)$(ASSEMBLY_NAME).dll

ASSEMBLY_WRAPPER = 
ASSEMBLY_WRAPPER_IN = 

PC_FILES =
PC_FILES_IN =

COMPILE_TARGET = library

REFERENCES =  \
	$(GECKO_SHARP_LIBS) \
	$(GLADE_SHARP_LIBS) \
	$(GLIB_SHARP_LIBS) \
	$(GTK_SHARP_LIBS) \
	-pkg:anculus-core \
	-pkg:anculus-gui \
	-pkg:mono-addins \
	-pkg:mono-addins-setup \
	-r:../../build/Galaxium.Core.dll \
	-r:../../build/Galaxium.Gui.dll \
	-r:../../build/Galaxium.Protocol.dll \
	-r:../../build/Galaxium.Protocol.Gui.dll \
	-r:../../build/libswfdec-sharp.dll \
	-r:Mono.Cairo \
	-r:Mono.Posix \
	-r:System \
	-r:System.Web \
	-r:System.Xml

RESOURCES =  \
	Galaxium.Gui.GtkGui.addin \
	Resources/AbstractAccountWidget.glade \
	Resources/AbstractChatWidget.glade \
	Resources/AbstractSessionWidget.glade \
	Resources/AddContactDialog.glade \
	Resources/AddGroupDialog.glade \
	Resources/CopyContactDialog.glade \
	Resources/CopyMoveGroupDialog.glade \
	Resources/EmoticonPopupDialog.glade \
	Resources/InviteContactDialog.glade \
	Resources/loading.gif \
	Resources/NewContactDialog.glade \
	Resources/RemoveContactDialog.glade \
	Resources/RemoveGroupDialog.glade \
	Resources/RenameGroupDialog.glade \
	Resources/SetDisplayImageDialog.glade \
	Resources/SetNicknameDialog.glade 
EXTRAS = 
DATA_FILES = 

FILES =  \
	ContactCellRendererText.cs \
	Dialogs/AddContactDialog.cs \
	Dialogs/AddGroupDialog.cs \
	Dialogs/CopyMoveGroupDialog.cs \
	Dialogs/EmoticonPopupDialog.cs \
	Dialogs/InviteContactDialog.cs \
	Dialogs/NewContactDialog.cs \
	Dialogs/ProgressMonitorDialog.cs \
	Dialogs/RemoveContactDialog.cs \
	Dialogs/RemoveGroupDialog.cs \
	Dialogs/RenameGroupDialog.cs \
	Dialogs/SelectionPopupDialog.cs \
	Dialogs/SetDisplayImageDialog.cs \
	Dialogs/SetNicknameDialog.cs \
	EventArgs/DragReceivedEventArgs.cs \
	EventArgs/SubmitTextEventArgs.cs \
	Extensions/MenuCheckExtension.cs \
	Extensions/MenuExtension.cs \
	Extensions/MenuItemExtension.cs \
	Extensions/MenuRadioExtension.cs \
	Extensions/MenuSeperatorExtension.cs \
	Extensions/MenuToolButtonExtension.cs \
	Extensions/SubMenuExtension.cs \
	Extensions/ToggleButtonExtension.cs \
	Extensions/ToolbarExtension.cs \
	Extensions/ToolButtonExtension.cs \
	Extensions/ToolSeperateExtension.cs \
	Icons/GtkAnimationExtension.cs \
	Icons/GtkIconExtension.cs \
	Interfaces/IContactTreeManager.cs \
	Interfaces/IPreferenceGuiFactory.cs \
	Interfaces/IPreferenceWidget.cs \
	Interfaces/ITrayListener.cs \
	NewTreeView/AbstractContactTreeManager.cs \
	NewTreeView/BasicContactTreeManager.cs \
	NewTreeView/CellRendererContact.cs \
	NewTreeView/ContactTreeContext.cs \
	NewTreeView/ContactTreeGroup.cs \
	NewTreeView/ContactTreeView.cs \
	NewTreeView/GalaxiumTreeView.cs \
	NewTreeView/GalaxiumTreeView.Tooltips.cs \
	Preferences/GtkTextMessageDisplayPreferences.cs \
	TextMessageDisplay/EntityTag.cs \
	TextMessageDisplay/LinkTag.cs \
	TextMessageDisplay/TextMessageDisplay.cs \
	TreeView/DefaultTreeNodeRenderer.cs \
	TreeView/DefaultTreeNodeWidget.cs \
	TreeView/ExpanderCellRenderer.cs \
	TreeView/GtkTreeView.cs \
	TreeView/HintTreeNodeRenderer.cs \
	TreeView/ObjectTreeNodeBuilder.cs \
	Utilities/GladeUtility.cs \
	Utilities/GtkUtility.cs \
	Utilities/IconUtility.cs \
	Utilities/MenuUtility.cs \
	Utilities/PangoUtility.cs \
	Utilities/PixbufUtility.cs \
	Widgets/AbstractAccountWidget.cs \
	Widgets/AbstractChatWidget.cs \
	Widgets/AbstractSessionWidget.cs \
	Widgets/BasicAccountWidget.cs \
	Widgets/BasicChatWidget.cs \
	Widgets/BasicSessionWidget.cs \
	Widgets/HTMLPopup.cs \
	Widgets/ImageComboBox.cs \
	Widgets/ImageFileChooserDialog.cs \
	Widgets/ImageView.cs \
	Widgets/InfoTooltip.cs \
	Widgets/InputTextField.cs \
	Widgets/MessageDisplayWidget.cs \
	Widgets/MessageEntryWidget.cs \
	Widgets/NotebookLabel.cs \
	Widgets/ThumbnailView.cs

GENERATED_FILES = AssemblyInfo.cs

all: $(ASSEMBLY)

$(ASSEMBLY) $(ASSEMBLY).mdb: $(build_sources) $(build_resources) $(build_datafiles) 
	mkdir -p $(dir $(ASSEMBLY))		
	$(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$@ -target:$(COMPILE_TARGET) $(build_sources) $(build_resources_embed) $(build_references_ref)

include $(top_srcdir)/Makefile.include
